﻿<Window x:Class="CodeStash.Addin.Popups.SnippetPopup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
        xmlns:PresentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
        Height="400"
        Width="600"
        Top="30"
        Left="30"
        Icon="{x:Null}"
        Title="CodeStash Snippet View"
        WindowStartupLocation="CenterOwner">


    <Window.Resources>
        <ImageSource PresentationOptions:Freeze="true"
                     x:Key="logoImage">/CodeStash.Addin;component/Images/Logo.png</ImageSource>

    </Window.Resources>
    
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="40" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="0"
              Background="Black">
            <Image Source="{StaticResource logoImage}"
                   HorizontalAlignment="Left"
                   Margin="5,0,0,0"
                   Width="186"
                   Height="30"
                   VerticalAlignment="Center" />

        </Grid>

        <avalonEdit:TextEditor Grid.Row="1"
                           Name="textEditor"
                           FontFamily="Consolas"
                           FontSize="10pt" />

    </Grid>

</Window>
    